<%--
    系统管理员页面头部
    Author: scm
    Date: 2023-12-12
    Version: 1.0
--%>
<%--
    需要的数据
    sessionScope.systemAdministrator
--%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page session="true" %>
<%@ page contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="<c:url value="/resources/css/bootstrap.css"/>">
  <link rel="stylesheet" href="<c:url value="/resources/css/clubStyle.css"/>">
  <title>校园社团管理系统</title>
</head>
<body>
<!-- 顶部导航栏 -->
<nav class="navbar navbar-expand-lg bg-dark fixed-top" data-bs-theme="dark">
  <div class="container-fluid">
    <!-- <a class="navbar-brand" href="#">Navbar</a> -->
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNavDropdown">
      <ul class="navbar-nav">
        <li class="nav-item">
          <a class="nav-link" aria-current="page" href="<c:url value="../systemAdministrator/index"/>">首页</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="<c:url value="../systemAdministrator/users"/>">用户管理</a>
        </li>
        <li class="nav-item dropdown">
          <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
            社团管理
          </a>
          <ul class="dropdown-menu">
            <li><a class="dropdown-item" href="<c:url value="../systemAdministrator/clubs"/>">社团列表</a></li>
            <li><a class="dropdown-item" href="<c:url value="../systemAdministrator/clubApplications"/>">社团审批</a></li>
            <li><a class="dropdown-item" href="<c:url value="../systemAdministrator/activities"/>">社团活动</a></li>
            <li><a class="dropdown-item" href="<c:url value="../systemAdministrator/activityApplications"/>">活动审批</a></li>
          </ul>
        </li>
        <li class="nav-item">
          <a class="nav-link" aria-current="page" href="<c:url value="../systemAdministrator/updateInfo"/>">账号信息</a>
        </li>
      </ul>
    </div>
    <span class="welcome">welcome&nbsp;&nbsp;</span>
    <div class="nav-item dropdown">
      <a class="nav-link dropdown-toggle welcome" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
        ${sessionScope.systemAdministrator.nickname}
      </a>
      <ul class="dropdown-menu">
        <li><a class="dropdown-item " href="<c:url value="../systemAdministrator/logout"/>">退出登录</a></li>
      </ul>
    </div>
  </div>
</nav>
</body>
</html>